@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap');

:root {
    --primary-color: #B780FE;
    --secondary-color: #E1FF8D;
    --background-color: #f5f5f5;
    --text-color: #000;
    --white: #ffffff;
    --black: #000000;
}

/* Override container margin for Community page */
body .container {
    margin-top: 0 !important;
}

/* Community Hero Section */
.community-hero {
    background-color: var(--black);
    padding: 4rem 5rem;
    text-align: center;
    margin-top: 0;
}

.community-hero h1 {
    font-size: 4rem;
    color: var(--secondary-color);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    font-family: 'Roboto Mono', monospace;
}

.community-hero p {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 0;
    line-height: 1.8;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Community Gallery Section */
.community-gallery {
    background-color: var(--white);
    padding: 4rem 5rem;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.gallery-item {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
}

.gallery-item.reverse {
    grid-template-columns: 1fr 2fr 1fr;
}

.gallery-item.reverse .gallery-text {
    order: 1;
}

.gallery-item.reverse .gallery-image,
.gallery-item.reverse .gallery-images-multi {
    order: 2;
}

.gallery-item.reverse .arrow-up,
.gallery-item.reverse .arrow-down {
    order: 3;
}

/* Arrow Styles */
.arrow-up,
.arrow-down {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    background: var(--secondary-color);
    border-radius: 50%;
    color: var(--black);
    font-size: 2rem;
    animation: bounce 2s infinite;
    box-shadow: 0 4px 15px rgba(225, 255, 141, 0.4);
}

.arrow-up {
    align-self: flex-start;
    margin-top: 2rem;
}

.arrow-down {
    align-self: flex-end;
    margin-bottom: 2rem;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Gallery Images Multi - for multiple images in a row */
.gallery-images-multi {
    display: flex;
    gap: 1rem;
    width: 100%;
}

.gallery-images-multi .gallery-image {
    flex: 1;
}

/* Gallery Image */
.gallery-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.gallery-image:hover {
    transform: scale(1.05);
}

.gallery-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

/* Gallery Text */
.gallery-text {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(183, 128, 254, 0.1) 0%, rgba(225, 255, 141, 0.1) 100%);
    border-radius: 20px;
    border: 3px solid var(--primary-color);
}

.gallery-text h2 {
    font-size: 2.5rem;
    color: var(--black);
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-weight: 700;
    font-family: 'Roboto Mono', monospace;
    letter-spacing: 2px;
}

.gallery-text p {
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.8;
    margin: 0;
}

/* Theme Ride Agenda Section */
.theme-ride-agenda {
    background: linear-gradient(135deg, var(--primary-color) 0%, rgba(183, 128, 254, 0.8) 100%);
    padding: 4rem 5rem;
    display: flex;
    justify-content: center;
}

.agenda-container {
    background: var(--white);
    border-radius: 30px;
    padding: 3rem;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border: 4px solid var(--secondary-color);
}

.agenda-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid var(--primary-color);
}

.agenda-header h2 {
    font-size: 2rem;
    color: var(--black);
    text-transform: uppercase;
    font-weight: 700;
    font-family: 'Roboto Mono', monospace;
    margin: 0;
    letter-spacing: 1px;
}

.agenda-icon {
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--black);
    font-size: 1.5rem;
}

.agenda-content {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.agenda-content-simple {
    text-align: center;
    padding: 2rem 0;
}

.agenda-text {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    line-height: 1.6;
    font-weight: 400;
}

.agenda-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    min-width: 100px;
    text-align: center;
}

.date-day {
    font-size: 3rem;
    font-weight: 700;
    font-family: 'Roboto Mono', monospace;
    line-height: 1;
}

.date-month {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0.5rem;
    font-family: 'Roboto Mono', monospace;
}

.agenda-details {
    flex: 1;
}

.agenda-details h3 {
    font-size: 1.8rem;
    color: var(--black);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-weight: 700;
    font-family: 'Roboto Mono', monospace;
}

.agenda-details p {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.agenda-description {
    margin-top: 1rem !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.6;
    font-weight: 400 !important;
}

.agenda-btn {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--black);
    padding: 0.8rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-family: 'Roboto Mono', monospace;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.agenda-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(183, 128, 254, 0.4);
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .gallery-item {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .gallery-item.reverse {
        grid-template-columns: 1fr;
    }

    .gallery-item.reverse .gallery-text,
    .gallery-item.reverse .gallery-image,
    .gallery-item.reverse .gallery-images-multi,
    .gallery-item.reverse .arrow-up,
    .gallery-item.reverse .arrow-down {
        order: 0;
    }

    .gallery-images-multi {
        flex-direction: column;
    }

    .arrow-up,
    .arrow-down {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin: 1rem auto;
    }

    .gallery-image img {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .community-hero {
        padding: 3rem 2rem;
    }
    
    .community-hero h1 {
        font-size: 2.5rem;
    }
    
    .community-hero p {
        font-size: 1rem;
    }
    
    .community-gallery {
        padding: 3rem 2rem;
        gap: 3rem;
    }

    .gallery-item {
        gap: 1.5rem;
    }

    .gallery-text {
        padding: 1.5rem;
    }

    .gallery-text h2 {
        font-size: 1.8rem;
    }

    .gallery-text p {
        font-size: 1rem;
    }

    .gallery-image img {
        height: 300px;
    }

    .gallery-images-multi {
        flex-direction: column;
        gap: 1rem;
    }

    .gallery-images-multi .gallery-image img {
        height: 250px;
    }

    .theme-ride-agenda {
        padding: 3rem 2rem;
    }

    .agenda-container {
        padding: 2rem;
    }

    .agenda-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .agenda-header h2 {
        font-size: 1.5rem;
    }

    .agenda-content {
        flex-direction: column;
        gap: 1.5rem;
    }

    .agenda-content-simple {
        padding: 1.5rem 0;
    }

    .agenda-text {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .agenda-date {
        width: 100%;
        padding: 1rem;
    }

    .date-day {
        font-size: 2.5rem;
    }

    .agenda-details h3 {
        font-size: 1.5rem;
    }

    .agenda-details p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .community-hero {
        padding: 2rem 1rem;
    }
    
    .community-hero h1 {
        font-size: 2rem;
    }
    
    .community-gallery {
        padding: 2rem 1rem;
        gap: 2rem;
    }

    .gallery-text h2 {
        font-size: 1.5rem;
    }

    .gallery-image img {
        height: 250px;
    }

    .gallery-images-multi .gallery-image img {
        height: 200px;
    }

    .theme-ride-agenda {
        padding: 2rem 1rem;
    }

    .agenda-container {
        padding: 1.5rem;
    }

    .agenda-header h2 {
        font-size: 1.2rem;
    }

    .agenda-content-simple {
        padding: 1rem 0;
    }

    .agenda-text {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .date-day {
        font-size: 2rem;
    }

    .agenda-details h3 {
        font-size: 1.3rem;
    }
}

